package javase_class_250902;

/**
 * ClassName: Person
 * Package: javase_class_250902
 * Description:
 *
 * @Author harkjeans
 * @Create 2025/9/2 19:55
 * @Version 1.0
 */
public class Person {

//    public Person(){
//    }此构造器默认存在

    String name;
    int age;

    public void eat(){
        System.out.println("人吃饭");
    }

    //构造器可以重载

}
